package springbootreactor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import reactor.core.Environment;
import reactor.core.Reactor;
import reactor.spring.context.config.EnableReactor;

@SpringBootApplication
@EnableAutoConfiguration
@ComponentScan
public class ReactorApplication {
    /**
     * spring-boot中ReactorAutoConfiguration类，自动生成名为rootReactor的Bean
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        SpringApplication.run(ReactorApplication.class, args);

    }






}